<template>
  <div class="h-screen bg-gradient-to-b from-blue-50 to-white flex flex-col overflow-hidden">
    <!-- 头部标题区域 -->
    <div class="text-center pt-4 sm:pt-6 md:pt-8 pb-2 sm:pb-3 md:pb-4 flex-shrink-0">
      <h1 class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-blue-600 mb-2 sm:mb-4">
        欢迎使用
      </h1>
      <p class="text-sm sm:text-base md:text-lg lg:text-xl text-gray-600 px-4">
        您可以在这里查看系统概览和快速操作
      </p>
    </div>

    <!-- 功能模块区域 -->
    <div class="flex items-center justify-center px-4 sm:px-6 py-2 sm:py-3 md:py-4">
      <div class="max-w-3xl w-full">
        <div class="grid grid-cols-1 sm:grid-cols-2 gap-2 sm:gap-3 md:gap-4">
          <!-- 功能模块1：数据统计 -->
          <div class="bg-white rounded-lg shadow-lg p-3 sm:p-4 md:p-5 hover:shadow-xl transition-shadow duration-300">
            <div class="text-center">
              <div
                class="w-10 h-10 sm:w-12 sm:h-12 md:w-14 md:h-14 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-2">
                <svg class="w-5 h-5 sm:w-6 sm:h-6 md:w-7 md:h-7 text-blue-600" fill="none" stroke="currentColor"
                  viewBox="0 0 24 24">
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                    d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
                </svg>
              </div>
              <h3 class="text-sm sm:text-base md:text-lg font-semibold text-gray-800 mb-1">数据统计</h3>
              <p class="text-xs sm:text-sm text-gray-600">这里将显示数据统计信息</p>
            </div>
          </div>

          <!-- 功能模块2：最新通知 -->
          <div class="bg-white rounded-lg shadow-lg p-3 sm:p-4 md:p-5 hover:shadow-xl transition-shadow duration-300">
            <div class="text-center">
              <div
                class="w-10 h-10 sm:w-12 sm:h-12 md:w-14 md:h-14 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-2">
                <svg class="w-5 h-5 sm:w-6 sm:h-6 md:w-7 md:h-7 text-green-600" fill="none" stroke="currentColor"
                  viewBox="0 0 24 24">
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                    d="M15 17h5l-5 5v-5zM4.828 7l6.586 6.586a2 2 0 002.828 0l6.586-6.586A2 2 0 0019.414 5H4.586A2 2 0 003.172 7z">
                  </path>
                </svg>
              </div>
              <h3 class="text-sm sm:text-base md:text-lg font-semibold text-gray-800 mb-1">最新通知</h3>
              <p class="text-xs sm:text-sm text-gray-600">这里将显示最新通知</p>
            </div>
          </div>

          <!-- 功能模块3：快速设置 -->
          <div class="bg-white rounded-lg shadow-lg p-3 sm:p-4 md:p-5 hover:shadow-xl transition-shadow duration-300">
            <div class="text-center">
              <div
                class="w-10 h-10 sm:w-12 sm:h-12 md:w-14 md:h-14 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-2">
                <svg class="w-5 h-5 sm:w-6 sm:h-6 md:w-7 md:h-7 text-purple-600" fill="none" stroke="currentColor"
                  viewBox="0 0 24 24">
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                    d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path>
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
                </svg>
              </div>
              <h3 class="text-sm sm:text-base md:text-lg font-semibold text-gray-800 mb-1">快速设置</h3>
              <p class="text-xs sm:text-sm text-gray-600">这里将显示快速设置选项</p>
            </div>
          </div>

          <!-- 功能模块4：系统概览 -->
          <div class="bg-white rounded-lg shadow-lg p-3 sm:p-4 md:p-5 hover:shadow-xl transition-shadow duration-300">
            <div class="text-center">
              <div
                class="w-10 h-10 sm:w-12 sm:h-12 md:w-14 md:h-14 bg-orange-100 rounded-full flex items-center justify-center mx-auto mb-2">
                <svg class="w-5 h-5 sm:w-6 sm:h-6 md:w-7 md:h-7 text-orange-600" fill="none" stroke="currentColor"
                  viewBox="0 0 24 24">
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                    d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2H5a2 2 0 00-2-2z"></path>
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 5a2 2 0 012-2h4a2 2 0 012 2v6H8V5z"></path>
                </svg>
              </div>
              <h3 class="text-sm sm:text-base md:text-lg font-semibold text-gray-800 mb-1">系统概览</h3>
              <p class="text-xs sm:text-sm text-gray-600">查看系统运行状态和基本信息</p>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 快速开始按钮区域 -->
    <div class="text-center pt-4 sm:pt-6 md:pt-8 pb-8 sm:pb-10 md:pb-12 flex-shrink-0">
      <button @click="quickStart"
        class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-8 sm:py-4 sm:px-12 rounded-full text-base sm:text-lg md:text-xl transition-colors duration-300 shadow-lg hover:shadow-xl transform hover:scale-105">
        快速开始
      </button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HomePage',
  methods: {
    // 快速开始功能
    quickStart() {
      // 这里可以添加快速开始的逻辑
      console.log('快速开始功能')
    }
  }
}
</script>

<style scoped>
/* 使用 Tailwind CSS，无需额外样式 */
</style>